summaryrefslogtreecommitdiffstats
path: root/gui/ConsoleWindow.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-09 01:22:34 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-12 21:57:34 +0100
commitfca4441229808891f460d5fbc4affd51e8896aa5 (patch)
tree842b0e559c233399b0994697ff87321d93603121 /gui/ConsoleWindow.cpp
parentc51a993ff741074ac88bbc901ebfad9da636eeaa (diff)
downloadMultiMC-fca4441229808891f460d5fbc4affd51e8896aa5.tar
MultiMC-fca4441229808891f460d5fbc4affd51e8896aa5.tar.gz
MultiMC-fca4441229808891f460d5fbc4affd51e8896aa5.tar.lz
MultiMC-fca4441229808891f460d5fbc4affd51e8896aa5.tar.xz
MultiMC-fca4441229808891f460d5fbc4affd51e8896aa5.zip
Replace old launcher part with a shiny new one. No more garbage on the command line.
Diffstat (limited to 'gui/ConsoleWindow.cpp')
-rw-r--r--gui/ConsoleWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp
index 84a141ce..54a74bde 100644
--- a/gui/ConsoleWindow.cpp
+++ b/gui/ConsoleWindow.cpp
@@ -166,6 +166,10 @@ void ConsoleWindow::on_closeButton_clicked()
void ConsoleWindow::setMayClose(bool mayclose)
{
+ if(mayclose)
+ ui->closeButton->setText(tr("Close"));
+ else
+ ui->closeButton->setText(tr("Hide"));
m_mayclose = mayclose;
}