summaryrefslogtreecommitdiff
path: root/ldmicro/helpdialog.cpp
diff options
context:
space:
mode:
authorakshay-c2019-04-11 16:57:56 +0530
committerakshay-c2019-04-11 16:57:56 +0530
commitb0c1405589824fc9f9f464683286cdac7ad139d0 (patch)
treee28f1efce0fce74e20a95f42e965f02a372b29ee /ldmicro/helpdialog.cpp
parentb874e82bc5a6856c4b2fa4c19f98ab2269daebc6 (diff)
downloadLDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.tar.gz
LDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.tar.bz2
LDmicroQt-b0c1405589824fc9f9f464683286cdac7ad139d0.zip
Improved cursor performance, simulation timer, drawwindow,scrollbar,closeevent, open-save dialogs, submenu-disabling
Diffstat (limited to 'ldmicro/helpdialog.cpp')
-rw-r--r--ldmicro/helpdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldmicro/helpdialog.cpp b/ldmicro/helpdialog.cpp
index ea4d23e..9bd28e1 100644
--- a/ldmicro/helpdialog.cpp
+++ b/ldmicro/helpdialog.cpp
@@ -329,11 +329,12 @@ void ShowHelpDialog(BOOL about)
HelpDialog[a]->setLayout(PackBoxHelp);
HelpDialog[a]->show();
+ RichEdit[a]->verticalScrollBar()->setValue(
+ RichEdit[a]->verticalScrollBar()->minimum());
/*if(HelpWindowOpen[a]) {
gtk_widget_grab_focus (HelpDialog[a]);
return;
}*/
HelpWindowOpen[a] = TRUE;
- RichEdit[a]->verticalScrollBar()->setValue(RichEdit[a]->verticalScrollBar()->minimum());
}