[gnome-calculator/wip/cdavis/gtk4: 5/9] Fixed basic mode not loading initially
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/wip/cdavis/gtk4: 5/9] Fixed basic mode not loading initially
- Date: Wed, 20 Oct 2021 22:10:18 +0000 (UTC)
commit 009b281b7684c9d3afbf1897549c02d9151d1670
Author: Robert Roth <robert roth off gmail com>
Date: Wed Oct 13 14:15:32 2021 +0300
Fixed basic mode not loading initially
src/math-buttons.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index 2d748c87..77d72ebd 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -27,7 +27,7 @@ public class MathButtons : Gtk.Box
get { return _mode; }
set
{
- if (_mode == value)
+ if (_mode == value && converter != null )
return;
_mode = value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]