mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: Fixed MainConfig issues
This commit is contained in:
parent
6143147137
commit
1208905ad0
1 changed files with 3 additions and 3 deletions
|
|
@ -313,7 +313,7 @@ MainConfigDlg::MainConfigDlg(const Workspace& wspc_) : wspc(wspc_) {
|
||||||
|
|
||||||
bool MainConfigDlg::Perform(const String& startwith) {
|
bool MainConfigDlg::Perform(const String& startwith) {
|
||||||
list.SetCursor(0);
|
list.SetCursor(0);
|
||||||
list.FindSetCursor(startwith);
|
list.FindSetCursor(startwith, 1);
|
||||||
Sync();
|
Sync();
|
||||||
return Run() == IDOK;
|
return Run() == IDOK;
|
||||||
}
|
}
|
||||||
|
|
@ -329,8 +329,8 @@ void Ide::MainConfig() {
|
||||||
actual.config = clone(dlg.config);
|
actual.config = clone(dlg.config);
|
||||||
SavePackage();
|
SavePackage();
|
||||||
if(dlg.list.IsCursor()) {
|
if(dlg.list.IsCursor()) {
|
||||||
mainconfigparam = dlg.list.Get(0);
|
mainconfigparam = dlg.list.Get(1);
|
||||||
mainconfigname = Nvl((String)dlg.list.Get(1), mainconfigparam);
|
mainconfigname = Nvl((String)dlg.list.Get(2), mainconfigparam);
|
||||||
MakeTitle();
|
MakeTitle();
|
||||||
}
|
}
|
||||||
SyncMainConfigList();
|
SyncMainConfigList();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue