Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r40057 - /branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Tue, 07 Aug 2007 13:02:06 -0000
  • Message-id: <20070807130206.4D6C2CDF4D@xxxxxxxxxxxxxxxx>
Author: gs
Date: Tue Aug  7 15:02:05 2007
New Revision: 40057

URL: http://svn.opensuse.org/viewcvs/yast?rev=40057&view=rev
Log:
use YMultiLineEdit::defaultVisibleLines() in preferredHeight()

Modified:
    branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc?rev=40057&r1=40056&r2=40057&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMultiLineEdit.cc Tue Aug  7 15:02:05 2007
@@ -72,7 +72,8 @@
 
 int NCMultiLineEdit::preferredHeight()
 {
-    return wGetDefsze().H;
+    //return wGetDefsze().H;
+    return YMultiLineEdit::defaultVisibleLines();
 }
 
 void NCMultiLineEdit::setEnabled( bool do_bv )

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages