mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Update prompt condition
Fixes https://github.com/Eloston/ungoogled-chromium/pull/1670#issuecomment-954682653
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
+ if (total_window_count >= 1 || this->tab_strip_model()->count() <= 1)
|
||||
+ return true;
|
||||
+ } else {
|
||||
+ if (total_window_count == 0 && this->tab_strip_model()->count() <= 1)
|
||||
+ if (total_window_count == 0)
|
||||
+ return true;
|
||||
+ if (this->tab_strip_model()->count() == 0)
|
||||
+ tab_strip_model_delegate_->AddTabAt(GURL(), -1, true);
|
||||
|
||||
Reference in New Issue
Block a user