Remove all menu items in unambiguous way on x86_64

Signed-off-by: Rene Gollent <[email protected]>
This commit is contained in:
Urias McCullough
2013-11-22 22:47:47 -05:00
committed by Rene Gollent
parent d85bab41bd
commit c19e7bb32b
+1 -1
View File
@@ -182,7 +182,7 @@ SerialWindow::~SerialWindow()
void SerialWindow::MenusBeginning()
{
// remove all items from the menu
while(fConnectionMenu->RemoveItem(0L));
fConnectionMenu->RemoveItems(0, fConnectionMenu->CountItems(), true);
// fill it with the (updated) serial port list
BSerialPort serialPort;