File tree Expand file tree Collapse file tree 2 files changed +11
-19
lines changed Expand file tree Collapse file tree 2 files changed +11
-19
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ ConfigList::ConfigList(ConfigView* p, const char *name)
317
317
connect (configApp, SIGNAL (aboutToQuit ()), SLOT (saveSettings ()));
318
318
}
319
319
320
- addColumn (promptColIdx);
320
+ showColumn (promptColIdx);
321
321
322
322
reinit ();
323
323
}
@@ -335,21 +335,21 @@ bool ConfigList::menuSkip(struct menu *menu)
335
335
336
336
void ConfigList::reinit (void )
337
337
{
338
- removeColumn (dataColIdx);
339
- removeColumn (yesColIdx);
340
- removeColumn (modColIdx);
341
- removeColumn (noColIdx);
342
- removeColumn (nameColIdx);
338
+ hideColumn (dataColIdx);
339
+ hideColumn (yesColIdx);
340
+ hideColumn (modColIdx);
341
+ hideColumn (noColIdx);
342
+ hideColumn (nameColIdx);
343
343
344
344
if (showName)
345
- addColumn (nameColIdx);
345
+ showColumn (nameColIdx);
346
346
if (showRange) {
347
- addColumn (noColIdx);
348
- addColumn (modColIdx);
349
- addColumn (yesColIdx);
347
+ showColumn (noColIdx);
348
+ showColumn (modColIdx);
349
+ showColumn (yesColIdx);
350
350
}
351
351
if (showData)
352
- addColumn (dataColIdx);
352
+ showColumn (dataColIdx);
353
353
354
354
updateListAll ();
355
355
}
Original file line number Diff line number Diff line change @@ -88,14 +88,6 @@ public slots:
88
88
updateList ();
89
89
updateAll = false ;
90
90
}
91
- void addColumn (colIdx idx)
92
- {
93
- showColumn (idx);
94
- }
95
- void removeColumn (colIdx idx)
96
- {
97
- hideColumn (idx);
98
- }
99
91
void setAllOpen (bool open);
100
92
void setParentMenu (void );
101
93
You can’t perform that action at this time.
0 commit comments