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() {
|
void MainWindow::mapListRemoveLayout() {
|
||||||
// TODO: consider this
|
// TODO: consider this in the future
|
||||||
// do nothing, for now at least
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::mapListRemoveItem() {
|
void MainWindow::mapListRemoveItem() {
|
||||||
|
@ -1523,10 +1522,12 @@ void MainWindow::mapListRemoveItem() {
|
||||||
this->mapListRemoveGroup();
|
this->mapListRemoveGroup();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
this->mapListRemoveArea();
|
// Disabled
|
||||||
|
// this->mapListRemoveArea();
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
this->mapListRemoveLayout();
|
// Disabled
|
||||||
|
// this->mapListRemoveLayout();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1758,7 +1759,6 @@ void MainWindow::currentMetatilesSelectionChanged()
|
||||||
|
|
||||||
// !TODO
|
// !TODO
|
||||||
void MainWindow::on_mapListContainer_currentChanged(int index) {
|
void MainWindow::on_mapListContainer_currentChanged(int index) {
|
||||||
//
|
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case MapListTab::Groups:
|
case MapListTab::Groups:
|
||||||
this->mapSortOrder = MapSortOrder::SortByGroup;
|
this->mapSortOrder = MapSortOrder::SortByGroup;
|
||||||
|
|
Loading…
Reference in a new issue