Skip to content

Commit be75388

Browse files
committed
MultitaskingView: Only show and push modal if it's not already shown
This fixes an issue where we would push modal again while we were already modal which would cause us to stay modal indefinitely because we wouldn't pop the first modal_proxy since it was 'overwritten' by the new one.
1 parent 7c0cd4c commit be75388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/MultitaskingView/MultitaskingView.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ namespace Gala {
236236
}
237237

238238
public override void start_progress (GestureAction action) {
239-
if (!opened) {
239+
if (!visible) {
240240
opened = true;
241241

242242
wm.background_group.hide ();

0 commit comments

Comments
 (0)