From: Felix Ernst Date: Mon, 16 Sep 2024 14:52:59 +0000 (+0200) Subject: Disable inline renaming for phones by default X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4c3f1b63b4fc6af4615e25832a3532a2023cf57f Disable inline renaming for phones by default It currently does not seem to work together with virtual keyboards. --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 36f0316c6..b0eccde0d 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -207,7 +207,10 @@ DolphinMainWindow::DolphinMainWindow() if (usePhoneUi) { Q_ASSERT(qobject_cast(m_placesPanel->parent())); m_placesPanel->parentWidget()->hide(); - GeneralSettings::setShowZoomSlider(false); + auto settings = GeneralSettings::self(); + settings->setShowZoomSlider(false); // Zooming can be done with pinch gestures instead and we are short on horizontal space. + settings->setRenameInline(false); // This works around inline renaming currently not working well with virtual keyboards. + settings->save(); // Otherwise the RenameInline setting is not picked up for the first time Dolphin is used. } }