Browse Source

deactivate history buttons by default

CPP-GTK4
yggverse 2 months ago
parent
commit
9be2ba6c32
  1. 4
      src/app/browser/main/tab/page/navbar/history/back.cpp
  2. 4
      src/app/browser/main/tab/page/navbar/history/forward.cpp

4
src/app/browser/main/tab/page/navbar/history/back.cpp

@ -15,6 +15,10 @@ Back::Back() @@ -15,6 +15,10 @@ Back::Back()
set_tooltip_text(
_("Back")
);
set_sensitive(
false // @TODO no effect by set_action_name
);
}
Back::~Back() = default;

4
src/app/browser/main/tab/page/navbar/history/forward.cpp

@ -15,6 +15,10 @@ Forward::Forward() @@ -15,6 +15,10 @@ Forward::Forward()
set_tooltip_text(
_("Forward")
);
set_sensitive(
false // @TODO no effect by set_action_name
);
}
Forward::~Forward() = default;

Loading…
Cancel
Save