[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor open
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure |
Date: |
Thu, 7 May 2020 15:47:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #2, bug #58317 (project octave):
Looking at the variable_editor_model::update_data function in
variable-editor-model.cc,
emit dataChanged (QAbstractTableModel::index (0, 0),
QAbstractTableModel::index (new_rows-1, new_cols-1));
looks like trouble if either new_rows or new_cols is zero. In that case,
should we omit the call? I guess this would apply to all types of data, not
just structs.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58317>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, anonymous, 2020/05/07
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, Mike Miller, 2020/05/07
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure,
John W. Eaton <=
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, John W. Eaton, 2020/05/07
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, Ben Brown, 2020/05/07
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, John W. Eaton, 2020/05/08
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, Philip Nienhuis, 2020/05/08
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, Philip Nienhuis, 2020/05/08
- [Octave-bug-tracker] [bug #58317] Octave crashes if Variable Editor opens an empty structure, Rik, 2020/05/12