Commit 2305e7e6 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

ensure urlbar update after session restore

parent 8d51d365
Pipeline #167926 failed with stage
in 3 minutes and 47 seconds
......@@ -21,11 +21,12 @@ public:
class KateViewSpace *viewSpace();
QIcon seperator();
void updateForDocument(KTextEditor::Document *doc);
void setupLayout();
void onViewChanged(KTextEditor::View *v);
void updateForDocument(KTextEditor::Document *doc);
class QStackedWidget *const m_stack;
class UrlbarContainer *const m_urlBarView;
class QLabel *const m_untitledDocLabel;
......@@ -1065,6 +1065,12 @@ void KateViewSpace::restoreConfig(KateViewManager *viewMan, const KConfigBase *c
viewMan->createView(doc, this);
// there must be a view now
// ensure we update the urlbar at least once
m_group = groupname; // used for restroing view configs later
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment