disable deletion of map sections and layouts
This commit is contained in:
parent
879bb44bc0
commit
05beed21ca
1 changed files with 5 additions and 5 deletions
|
@ -1511,8 +1511,7 @@ void MainWindow::mapListRemoveArea() {
|
|||
}
|
||||
|
||||
void MainWindow::mapListRemoveLayout() {
|
||||
// TODO: consider this
|
||||
// do nothing, for now at least
|
||||
// TODO: consider this in the future
|
||||
}
|
||||
|
||||
void MainWindow::mapListRemoveItem() {
|
||||
|
@ -1523,10 +1522,12 @@ void MainWindow::mapListRemoveItem() {
|
|||
this->mapListRemoveGroup();
|
||||
break;
|
||||
case 1:
|
||||
this->mapListRemoveArea();
|
||||
// Disabled
|
||||
// this->mapListRemoveArea();
|
||||
break;
|
||||
case 2:
|
||||
this->mapListRemoveLayout();
|
||||
// Disabled
|
||||
// this->mapListRemoveLayout();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1758,7 +1759,6 @@ void MainWindow::currentMetatilesSelectionChanged()
|
|||
|
||||
// !TODO
|
||||
void MainWindow::on_mapListContainer_currentChanged(int index) {
|
||||
//
|
||||
switch (index) {
|
||||
case MapListTab::Groups:
|
||||
this->mapSortOrder = MapSortOrder::SortByGroup;
|
||||
|
|
Loading…
Reference in a new issue