parent
9ca605c9c4
commit
d23c7c42c4
@ -802,16 +802,7 @@ recalculate_chart(AgWindow *window)
|
|||||||
GTK_COMBO_BOX(priv->house_system),
|
GTK_COMBO_BOX(priv->house_system),
|
||||||
&house_system_iter
|
&house_system_iter
|
||||||
)) {
|
)) {
|
||||||
// TODO: a better approach must be made here. If there is an error, we
|
g_error("House system is not set! This is clearly a bug.");
|
||||||
// cannot calculate the chart. If we are changing tabs, this should even
|
|
||||||
// prevent it!
|
|
||||||
ag_app_message_dialog(
|
|
||||||
GTK_WIDGET(window),
|
|
||||||
GTK_MESSAGE_ERROR,
|
|
||||||
"House system must be set!"
|
|
||||||
);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_tree_model_get(
|
gtk_tree_model_get(
|
||||||
|
Loading…
Reference in New Issue
Block a user