ui.cpp bugfix

This commit is contained in:
Markus Gans 2017-11-19 19:53:43 +01:00
parent d8759ff51d
commit a2061786c8
1 changed files with 21 additions and 18 deletions

View File

@ -312,6 +312,9 @@ class MyDialog : public FDialog
FMenuItem* Env;
FMenuItem* Drive;
FMenuItem* Help;
FStatusKey* key_F1;
FStatusKey* key_F2;
FStatusKey* key_F3;
FLineEdit* myLineEdit;
FListBox* myList;
FString clipboard;
@ -487,9 +490,9 @@ void MyDialog::initStatusBar()
FStatusBar* statusbar = new FStatusBar (this);
// Statusbar keys
FStatusKey* key_F1 = new FStatusKey (fc::Fkey_f1, "About", statusbar);
FStatusKey* key_F2 = new FStatusKey (fc::Fkey_f2, "View", statusbar);
FStatusKey* key_F3 = new FStatusKey (fc::Fkey_f3, "Quit", statusbar);
key_F1 = new FStatusKey (fc::Fkey_f1, "About", statusbar);
key_F2 = new FStatusKey (fc::Fkey_f2, "View", statusbar);
key_F3 = new FStatusKey (fc::Fkey_f3, "Quit", statusbar);
}
//----------------------------------------------------------------------