Remove all menu items in unambiguous way on x86_64
Signed-off-by: Rene Gollent <[email protected]>
This commit is contained in:
committed by
Rene Gollent
parent
d85bab41bd
commit
c19e7bb32b
@@ -182,7 +182,7 @@ SerialWindow::~SerialWindow()
|
|||||||
void SerialWindow::MenusBeginning()
|
void SerialWindow::MenusBeginning()
|
||||||
{
|
{
|
||||||
// remove all items from the menu
|
// remove all items from the menu
|
||||||
while(fConnectionMenu->RemoveItem(0L));
|
fConnectionMenu->RemoveItems(0, fConnectionMenu->CountItems(), true);
|
||||||
|
|
||||||
// fill it with the (updated) serial port list
|
// fill it with the (updated) serial port list
|
||||||
BSerialPort serialPort;
|
BSerialPort serialPort;
|
||||||
|
|||||||
Reference in New Issue
Block a user